<?
	$nav = array("Home" => "", "Gallery" => "gallery/", "add" => "#");

	$tpl->assign("dsfm_nav", $nav);

    $form = new Form( array(
		"plaything" => array(
			"type" => "text",
			"width" => 400,
		),

		"image" => array(
			"type" => "upload",
			"desc" => "74px * 74px"
		),

		"detail" => array(
			"type" => "textarea",
			"lang" => "th/en",
			"width" => 400,
		),

		"warning" => array(
			"type" => "textarea",
			"lang" => "th/en",
			"width" => 400,
		)
	));

	$form->add_action("add.php");

    $form->rain_display($tpl, "form");
?>